from xeger import Xeger

class XegerUtils:
    CH_REG = '[]'
    EN_LITTLE_REG = '[]'
    EN_UPPER_REG = '[]'
    EN_REG = '[]'
    SPECIAL_REG = '[]'


    def __init__(self,CH,EN_Upper,EN_LITTLE,NUM,Length):
        self.CH = CH
        self.EN_LITTLE = EN_LITTLE
        self.EN_Upper = EN_Upper
        self.NUM = NUM
        self.Length = Length

    def create_CH_reg(self):
        pass

    def create_EN_Little_reg(self):
        pass

    def create_EN_Upper_reg(self):
        pass

    def create_EN_reg(self):
        pass

    def create_SPECIAL_reg(self):
        pass

    def create(self,length):
        #只有中文
        if (self.CH is True) and(self.EN_LITTLE is False) and (self.EN_Upper is False) and (self.NUM is False):
            pass
        #只有小写英文
        elif (self.CH is False) and(self.EN_LITTLE is True) and (self.EN_Upper is False) and (self.NUM is False):
            pass
        #只有大写英文
        elif (self.CH is False) and(self.EN_LITTLE is False) and (self.EN_Upper is True) and (self.NUM is False):
            pass
        #只有数字
        elif (self.CH is False) and(self.EN_LITTLE is False) and (self.EN_Upper is False) and (self.NUM is True):
            pass
        #中文小写英文
        elif (self.CH is True) and(self.EN_LITTLE is True) and (self.EN_Upper is False) and (self.NUM is False):
            pass
        #中文大写英文
        elif (self.CH is True) and(self.EN_LITTLE is False) and (self.EN_Upper is True) and (self.NUM is False):
            pass
        #中文英文
        elif (self.CH is True) and(self.EN_LITTLE is True) and (self.EN_Upper is True) and (self.NUM is False):
            pass
        #中文数字
        elif (self.CH is True) and(self.EN_LITTLE is False) and (self.EN_Upper is False) and (self.NUM is True):
            pass
        #大写英文数字
        elif (self.CH is False) and(self.EN_LITTLE is False) and (self.EN_Upper is True) and (self.NUM is True):
            pass
        #小写英文数字
        elif (self.CH is False) and(self.EN_LITTLE is True) and (self.EN_Upper is False) and (self.NUM is False):
            pass
        #英文数字
        elif (self.CH is False) and(self.EN_LITTLE is True) and (self.EN_Upper is True) and (self.NUM is True):
            pass
        #中文英文字符
        elif (self.CH is True) and(self.EN_LITTLE is True) and (self.EN_Upper is True) and (self.NUM is True):
            pass
        else:
            pass